body {
  padding: 40px;
}

.ql-container{
  // width: 534px;
  border: 0 !important;
  margin: 0 auto;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.ql-toolbar{
  width: 700px;
  margin: 0 auto;
  border: 0 !important;
}

.ql-editor {
  // line-height: 1 !important;
  padding: 12px 18px !important;

  h2 {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  p {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
  }
}

.img-box {
  text-align: center;
}

.tag-container {
  font-weight: 400;
  font-size: 12px;
  overflow: hidden;
  max-width: 200px;
  display: inline-block;
  white-space: nowrap;
  margin-bottom: -4px;
  border-radius: 4px;
  border: 2px solid rgba(0, 0, 0, 0);
  padding: 0px 3px;
  text-overflow: ellipsis;
  line-height: 14px;
  opacity: 1;
  cursor: pointer;
  user-select: none;
}

.file-container {
  font-family: 'Chinese Quote', 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  line-height: 24px;
  padding: 0 5px;
  font-size: 15px;
  letter-spacing: normal;
  text-indent: 0;
  color: #096dd9;

  &.selected {
    background: rgba(27, 162, 227, 0.2);
  }

  .file-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url(icons/file-blue.svg);
    background-size: 18px 18px;
    background-repeat: no-repeat;
  }
}

.link-card {
  position: relative;
  display: block;
  margin: 1em auto;
  width: 390px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 12px;
  max-width: 100%;
  overflow: hidden;
  cursor: default;
  font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;

  &:hover {
    box-shadow: 0 0 0 2px rgba(0,102,255,.3);
  }

  &.focused {
    box-shadow: 0 0 0 2px #06f;
  }

  .link-card-content {
    display: flex;
    background-color: #f6f6f6;
    position: relative;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: inherit;
  }

  .link-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 40px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    color: #121212;
  }

  .link-card-meta {
    display: flex;
    margin-top: 4px;
    font-size: 14px;
    line-height: 20px;
    color: #999;
    white-space: nowrap;
  }

  .link-card-img-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    background-color: #ebebeb;
    color: #d3d3d3;
    border-radius: 6px;
    padding: 5px;

    img {
      width: 60px;
      height: 60px;
    }
  }
}

.jsmind-container {
  width: 800px;
  height: 500px;
  border: solid 1px #ccc;
  background: #f4f4f4;
}

.markdown-body pre {
  font-size: 12px !important;
  padding: 15px 12px !important;
  margin: 0 !important;
  word-break: normal !important;
  display: block !important;
  overflow-x: auto !important;
  color: #333 !important;
  background: #f8f8f8 !important;
}

.markdown-body code {
  word-break: break-word !important;
  border-radius: 2px !important;
  overflow-x: auto !important;
  background-color: #fff5f5 !important;
  color: #ff502c !important;
  font-size: .87em !important;
  padding: .065em .4em !important;
}
